package com.songtech.uitest.util;

import org.springframework.stereotype.Component;

@Component
public class Space {

    //打印日志前的缩进空格
    private StringBuffer space = new StringBuffer("");

    public String getSpace() {
        return space.toString();
    }

    public void addSpace(){
        space.append("    ");
    }

    public void delSpace(){
        space.delete(space.length()-4, space.length());
    }

    public void delAllSpace(){
        space.delete(0, space.length());
    }

}
